import http from "../../utils/http"

// pages/article/article.ts
Page({

  /**
   * 页面的初始数据
   */
  data: {
    details: {},
    schoolData:{}
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {
    console.log(options);
    const { data } = options;
    this.setData({
      details: JSON.parse(decodeURIComponent(data)),
    })
    console.log(JSON.parse(decodeURIComponent(data)));
    
  },


})